// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__A70BFFAA_2939_11D3_873E_000000000000__INCLUDED_)
#define AFX_MAINFRM_H__A70BFFAA_2939_11D3_873E_000000000000__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "OutputBar.h"
#include "MemoryBar.h"

#define CFrameWnd		CCJFrameWnd
#define CToolBar		CCJToolBar
#define CToolBarCtrl	CCJToolBarCtrl

// class forwards.
class CTabClassDoc;
class CTabResourceDoc;
class CTabFileDoc;

class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// Attributes
public:
	CTabClassDoc*		m_pDocClass;
	CTabResourceDoc*	m_pDocResource;
	CTabFileDoc*		m_pDocFile;
	BOOL				m_bFlat;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // control bar embedded members
	CStatusBar			m_wndStatusBar;
	CToolBar			m_wndToolBar;
	CCJTabCtrlBar		m_wndWorkspace;
	COutputBar  		m_wndOutput;
	CMemoryBar			m_wndMemory;
	CImageList			m_TabImages;

// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnClose();
	afx_msg void OnToggleflat();
	afx_msg void OnUpdateToggleflat(CCmdUI* pCmdUI);
	afx_msg void OnInitTabClass();
	afx_msg void OnInitTabFile();
	afx_msg void OnInitTabRsrc();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAINFRM_H__A70BFFAA_2939_11D3_873E_000000000000__INCLUDED_)
